package com.sf.strategy;

/**
 * @author 埔枘
 * @date 2019/12/02
 **/
public class LoginMethodContext {

    private ILoginMethod loginMethod;

    public LoginMethodContext(ILoginMethod loginMethod){
        this.loginMethod = loginMethod;
    }

    public void login(String username,String password){
        this.loginMethod.login(username,password);
    }

}
